#ifndef _delay_h_
#define _delay_h_

#ifdef _DELAY_C_
  #define _EXT_
#else
  #define _EXT_ extern
#endif


#define DELAY_US(x)	((uint)( (x) * 1e-6 * XTAL ))
#define DELAY(x)	delay(x)

_EXT_ delay( int d );

#undef _EXT_
#endif
